<?php $this->load->view('inc/header.php');?>

<div class="b2"></div>

<div class="panel w2">
<h1>私信(<span class="c1"><?php echo $count_no_r;?></span>封未读)</h1>
<div class="msg">
<?php foreach ($list_msg as $k=>$v):?>
<div class="msg-item">
	<?php avatar($v->posteremail,50);?>
	<div class="msg-item-cont"><?php echo $v->cont;?></div>
	<div class="msg-item-info">
	    <span class="fs2 c2"><?php echo $v->postername;?></span>
	    <span class="fs2 c3"><?php echo date('Y-m-d H:i:s',$v->atime);?></span>
	</div>
	<div class="msg-item-opt">
		<?php if($v->is_r == 0):?>
		<a class="fs2 btn-ajax" href="<?php echo site_url('c=msg&m=is_r_do&id='.$v->id);?>">标记已读</a>
		<?php endif;?>
		<a class="fs2 btn-ajax-confirm" msg="确定要删除吗？" href="<?php echo site_url('c=msg&m=del&id='.$v->id);?>">删除</a>
	</div>
</div>
<?php endforeach;?>

<?php echo $pagenav;?>
</div>
</div>
<?php $this->load->view('inc/footer.php');?>


